package com.hsylient.javase.chapter02.demo03.demo01;

public class Dog implements Animal {

    @Override
    public void eat() {
        System.out.println("狗吃屎。。。");
    }

    @Override
    public void sleep() {
        // Animal.super.sleep();
        System.out.println("默认方法子类也是可以重写的。。。");
    }
}
